class Punct{
	double x,y;
   public:
	Punct(double ,double );
	Punct();
	bool operator!=(Punct p);
	double getX();
	double getY();
	void setX(double x);
	void setY(double y);
};
class Segment{
  Punct A,B;
  public:
	Segment(Punct A,Punct B);
	double calculLungime();
	Punct getA();
	Punct getB();
	void setA(Punct);
	void setB(Punct);
};
class Poligon{
  Punct puncte[100];
public:
	Poligon(int n);
	bool isPoligon();
	bool isTriunghi();
	bool isPatrat();
	bool isConcav();
	bool isConvex();
	bool operator ==(Poligon op);
	bool operator<(Poligon op);
	double Aria();
	int nrPuncte();
};


